package com.huahang.fashionpress.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huahang.fashionpress.model.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: 阿俊哥 王翰聪
 * @Date: 2019/8/20 15:08
 * @Version 1.0
 * @version 1.1
 */

@Repository
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from t_user where user_username = #{username}")
    public User selectByUsername(String username);

}
